/**
 * 通过mutations间接更新state的多个方法的对象
 */
import {} from '../api'

import {GET_USER_INFO} from './mutations-types'
import { GET_UID } from './mutations-types'

export default{

//同步加载个人信息
recordUserInfo ({commit}, userInfo) {
    commit(GET_USER_INFO, {userInfo})
},

recordUid({commit}, uid) {
    commit(GET_UID, {uid})
},

}
